package com.itheima.stock.service;

import com.itheima.stock.common.domain.*;
import com.itheima.stock.vo.PageResult;
import com.itheima.stock.vo.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface StockService {

    R<List<InnerMarketDomain>> getInnerStockMarket();

    R<List<SectorAll>> getSectorAll();

    R<List<StockIncrease>> getStockIncrease();

    R<PageResult<StockIncrease>> getStockAll(Integer page, Integer pageSize);

    R<Map> getStockUpDownCount();

    void exPort(HttpServletResponse response, Integer page, Integer pageSize);

    R<Map> stockTradeVol4InnerMarket();

    R<Map> getStockUpDown();

    R<List<StockScreenTimeSharing>> stockScreenTimeSharing(String code);

    R<List<DayKLinData>> getDayKLinData(String code);
}
